﻿using LiSA_Server.Base.AbstractContracts;
using LiSA_Service.Users.Models;

namespace LiSA_WindowsService
{
    public class LiSA_Service : ILiSA_Service
    {
        public void ExecuteCommand(Command command)
        {
            if (command != null)
            {
                command.Execute();
            }
        }

        public QueryResult ExecuteQuery(Query query)
        {
            return query == null ? null : query.Execute();
        }
    }
}
